package com.kgc.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import entity.Machining;
import org.apache.ibatis.annotations.Mapper;

import java.util.HashMap;
import java.util.List;

/**
 * machining dao层
 */
@Mapper
public interface MachiningMapper extends BaseMapper<Machining> {


    //检查加工工艺是否同名
    int selectInsrtCheckName(String name);

    //查询加工工艺信息
    List<Machining> selectMachiningInfo(HashMap<String, Object> map);

}
